package softtech.apps.utility;

import android.content.Intent;
import android.os.Environment;

/**
 * Constant of application
 * @author phuoc.td
 * Date created: 15-9-2014
 */
public class ApplicationConstants {
	
	//Status use app
	public static int ENABLE = 1;
	
	//	app is actived
	public static final int APP_ACTIVATED = 1;
	
	//	app not activated
	public static final int APP_NOT_ACTIVATED = 0;
	
	// URL ACTIVATE APP
	public static final String DOMAIN = "http://softtech.vn";
	
	public static final String BASE_URL = DOMAIN +"/svn-secret/";
	
	public static final String URL_REGISTER_LICENSE = BASE_URL + "license/register_license";

	//
	// LICENSE TIME
	//
	public static final int MAX_TIME_FREE = 7 * 24 * 60;
	
	//
	// file name fake app
	//
	public static final String OLD_FAKE_ICON_NAME = "oldfaceicon";
	
	public static final String OLD_FAKE_ICON_ID = "oldfaceiconid";
	
	//
	// file name license app
	//
	public static final String PATH_FOLDER_LICENSE = Environment.getExternalStorageDirectory() +"/license";
	
	public static final String FILE_LICENSE_NAME = "spendtime.txt";
	
	public static final String PATH_LICENSE_FILE = PATH_FOLDER_LICENSE + "/" + FILE_LICENSE_NAME;
	
	public static final String FILE_ACTIVATE_NAME = "readit.txt";
	
	//
	// HOT_KEY
	//
	public static final String HOT_KEY = "*777*";
	
	
	//
	// TAG BROADCAST
	//
	public static final String TAG_BROADCAST = "call_block_new_sms";
	
	
	//
	// FILE LIMITED TIME SAVE HISTORY
	//
	public static final String FILE_LIMITED = "history_limited";
	
	// ACTION BROADCAST
	public static String BROADCAST_ACTION_SMS_SETTING= "Softtech.apps.callblocker.dialogSmsSetting";
	public static String BROADCAST_ACTION_CALL_SETTING = "Softtech.apps.callblocker.dialogCallSetting";
	//AUDIO RINGER
	public static int AUDIO_RINGER = 0;
	
}
